import Qt 4.7

FocusScope {
    id: container

    signal accepted

    property alias text: input.text
    property alias item:input


    width: 220
    height: 28
    BorderImage {
        source: "images/lineedit.sci"
        anchors.fill: parent
    }

    TextInput {
        id: input

        width: parent.width - 12
        anchors.centerIn: parent
        maximumLength: 100

        font.pointSize: fontSize

        color: "#151515"

        focus: true

        onAccepted: { container.accept() }

        text: ""
        selectByMouse: true
    }
}
